package part07抽象.练习;

public class 测试类 {

	public static void testDraw(形状 xz) {
		xz.draw();
	}
	
	public static void main(String[] args) {
		测试类.testDraw(new 线条(0, 0, "RED", 100, 100));
		测试类.testDraw(new 矩形(0, 0, "gray", 250, 250));
	}
}
